<!DOCTYPE html>
	<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:p="http://primefaces.org/ui">
	  
	  <h:head>
		<h:outputScript library="javax.faces" name="jsf.js" />
		<h:outputScript library="primefaces" name="jquery/jquery.js" />	
	  </h:head>
	  <h:body>
	  	<h:form id="funcionario">
	  		<label>
	  			<span>Nome</span>
	  			<p:inputText id="nome" binding="#{nome}"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>Data de Nascimento</span>
	  			<p:inputText id="data_nascimento"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>RG</span>
	  			<p:inputText id="rg"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>CPF</span>
	  			<p:inputText id="cpf"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>Data de Admissão</span>
	  			<p:inputText id="data_admissao"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>Remuneração Líquida</span>
	  			<p:inputText id="rem_liquida"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>Remuneração Bruta</span>
	  			<p:inputText id="rem_bruta"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>Telefone</span>
	  			<p:inputText id="telefone"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>Email</span>
	  			<p:inputText id="email"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>Comissão</span>
	  			<p:inputText id="comissao"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>Tem acesso</span>
	  			<p:inputText id="temAcesso"></p:inputText>	
	  		</label>
	  		<br/>
	  		<label>
	  			<span>Cargo</span>
	  			<p:inputText id="cargo"></p:inputText>	
	  		</label>
	  		<br/>
	  		<p:commandButton action="#{funcionarioService.save(nome.value)}" value="Salvar">
	  		</p:commandButton>
	  	</h:form>
	  </h:body>
</html>